package com.example.entity;

import java.io.Serializable;

/**
 * 订单详情(Orderdateil)实体类
 *
 */
public class Orderdateil implements Serializable {
    private static final long serialVersionUID = -76653684477908972L;
/**
     * 主键ID
     */
    private Integer id;
/**
     * 订单编号
     */
    private String orderno;
/**
     * 菜品ID
     */
    private Integer goodsid;
/**
     * 数量
     */
    private Integer slnum;
/**
     * 单价
     */
    private Double price;
/**
     * 小计
     */
    private Double subtotal;
/**
     * 订单状态
     */
    private String status;
    private Goods goods;
    private String goodsname;
    private Double total;

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getSlnum() {
        return slnum;
    }

    public void setSlnum(Integer slnum) {
        this.slnum = slnum;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(Double subtotal) {
        this.subtotal = subtotal;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

}

